package cn.jy.feeback.controller;

import cn.jy.common.feeback.ExpressFeedbackSupplement;
import cn.jy.feeback.service.ExpressFeedbackSupplementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/feeback")
@CrossOrigin
public class ExpressFeedbackSupplementController {
    @Autowired
    private ExpressFeedbackSupplementService expressFeedbackSupplementService;

    @GetMapping("/findExpressFeedbackSupplementId")
    public ExpressFeedbackSupplement findExpressFeedbackSupplementId(@RequestParam("fid") Integer fid){
        return expressFeedbackSupplementService.findExpressFeedbackSupplementId(fid);
    }
}
